import 'package:json_annotation/json_annotation.dart';

part 'interest_join.g.dart';


@JsonSerializable()
class InterestJoin extends Object {

  @JsonKey(name: 'interestId')
  int interestId;

  @JsonKey(name: 'postId')
  int postId;

  InterestJoin({this.interestId,this.postId});

  factory InterestJoin.fromJson(Map<String, dynamic> srcJson) => _$InterestJoinFromJson(srcJson);

  Map<String, dynamic> toJson() => _$InterestJoinToJson(this);

}

